package com.firefightingiot.firefightingiot.web.mapper.statistics;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefightingiot.firefightingiot.model.statistics.DeviceAlarmLogElectricFireStatisticsWeek;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeviceAlarmLogElectricFireStatisticsWeekMapper extends BaseMapper<DeviceAlarmLogElectricFireStatisticsWeek> {

    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsWeekDateList();
    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsWeekList(String orgId);
    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsBusinessWeekList(String businessId);

    /**
     * 月统计
     */
    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsMonthDateList();
    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsMonthList(String orgId);
    List<DeviceAlarmLogElectricFireStatisticsWeek> deviceAlarmLogElectricFireStatisticsBusinessMonthList(String businessId);

}
